package com.fulihui.systemcore.dal.mapper;

import java.util.List;

import com.fulihui.systemcore.dal.dataobj.WechatToken;
import org.apache.ibatis.annotations.Param;

public interface WechatTokenMapper {

    boolean insert(WechatToken wechatToken);

    boolean update(WechatToken wechatToken);

    WechatToken queryToken(@Param("appid") String appid, @Param("tokenType") String tokenType);

    List<WechatToken> queryAll();

}